<!-- Copyright 2018 The Chromium Authors. All rights reserved.
   Use of this source code is governed by a BSD-style license that can be
   found in the LICENSE file.-->
<!doctype html>
<html dir="ltr" lang="en">
<head>
  <meta charset="utf-8">
  <link rel="stylesheet" href="chrome://resources/css/text_defaults.css">
  <link rel="stylesheet" href="chrome://resources/css/tree.css">
  <link rel="stylesheet" href="process_internals.css">
  <script type="module" src='process_internals.js'></script>
  <title>Process Model Internals</title>
</head>
<body>

<div id="container">
  <div id="navigation">
    <div id="caption">Process Internals</div>
  </div>
  <div id="content">
    <div id="general">
      <div class="content-header">General info</div>
      <div id="general-info">
        <div id="site-isolation-mode">Site Isolation mode: <span id='isolation-mode'>unknown</span></div>
        <div id="isolated-origins-container">
          <div id="user-triggered-isolated-origins"></div>
          <div id="web-triggered-isolated-origins"></div>
          <div id="global-isolated-origins"></div>
        </div>
      </div>
    </div>
    <div id="web-contents">
      <div class="content-header">Frame Trees</div>
      <div id="wc-list" class="list pages"></div>
      <div id="tree-view-container">
        <button id="refresh-button">Refresh</button>
        <div>Legend:</div>
        <div>Frame[<i>process_id</i>:<i>routing_id</i>:<i>agent_scheduling_group_id</i>]:
          SI:<i>site_instance_id</i>, <i>whether process is locked to a
            site</i>, site: <i>site_url</i> | url:
          <i>last_committed_url</i>
        </div>
        <tree id="tree-view"></tree>
      </div>
    </div>
  </div>
</div>

</body>
</html>
